package com.example.project.mapper;

import com.example.project.pojo.Student;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface StudentMapper {
    //查询学生基本信息
    List<Student> getStudent();

    //添加学生基本信息
    void addStudent(Student student);

    //修改学生的评价
    void updateEval(Student student);

    //删除学生信息
    void deleteStudent(int id);
}
